﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo03
{
    class Shape
    {

        private string color;
        public string Color
        {
            get { return this.color; }
            set { this.color = value; }
        }
        public virtual void GetArea() {
            Console.WriteLine("请输入图形颜色");
            color = Convert.ToString(Console.ReadLine());
        }
    }
}
